<table id="activity_listing">
<?if($activities->num_rows()):?>
	<?foreach($activities->result() as $activity):?>
	<tr>
		<td><?=date('M d,Y (h:m a)',strtotime($activity->activity_created))?></td>
		<td><?=$activity->activity_content?></td>
	</tr>
	<?endforeach;?>
<?else:?>
	<tr>
		<td style="text-align:center">No Recent Activity.</td>
	</tr>
<?endif;?>
</table>